<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title></title>
	<link rel="stylesheet" href="css/bootstrap.min.css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap-dropdown.js"></script>
	<script type="text/javascript" src="js/bootstrap-modal.js"></script>
	<script type="text/javascript" src="js/bootstrap-transition.js"></script>
	
	<style type="text/css">
		body{
			margin-top:50px;
		}
		.page-header{
			background-color:rgb(240, 245, 248);
		}
		#talk{
			width:570px;
			height:100px;
		}
		
	</style>
	
</head>
<body>
	<div class="navbar navbar-fixed-top">
	  <div class="navbar-inner">
		<div class="container">
			<a class="brand" href="#">
			  <img src="img/user_group.png" alt="" />&nbsp;客户关系管理系统
			</a>
			<ul class="nav">
			  <li>
				<a href="welcome.action">概览</a>
			  </li>
			  <li><a href="contacts.action">通讯录</a></li>
			  <li><a href="tasks.action">任务</a></li>
			  <li><a href="chances.action">机会</a></li>
			  <li class="active"><a href="discuss.action">讨论</a></li>
			  <li class="dropdown" id="menutest1">
				<a class="dropdown-toggle" data-toggle="dropdown" href="#menutest1">
				  添加
				  <b class="caret"></b>
				</a>
				<ul class="dropdown-menu">
				  <li><a href="new_contact.action"><i class="icon-user"></i>&nbsp;联系人</a></li>
				  <li><a href="new_company.action"><i class="icon-home"></i>&nbsp;公司</a></li>
				  <li class="divider"></li>
				  <li><a href="new_task.action"><i class="icon-ok"></i>&nbsp;任务</a></li>
				  <li><a href="new_chance.action"><i class="icon-star-empty"></i>&nbsp;机会</a></li>
				</ul>
			  </li>
			  
			</ul>
			<form class="navbar-search pull-left">
			  <input type="text" class="search-query" placeholder="Search">
			</form>
			
			<ul class="nav pull-right" >
			  <li>
				<a href="#">${user.username }</a>
			  </li>
			  <li class="dropdown" id="menutest2">
				<a class="dropdown-toggle" data-toggle="dropdown" href="#menutest2">
				  管理
				  <b class="caret"></b>
				</a>
				<ul class="dropdown-menu">
				  <li><a href="#"><i class="icon-user"></i>&nbsp;同事</a></li>
				  <li><a href="#"><i class="icon-list-alt"></i>&nbsp;组</a></li>
				  <li class="divider"></li>
				  <li><a href="#"><i class="icon-asterisk"></i>&nbsp;账号</a></li>
				</ul>
			  </li>
			  <li class="divider-vertical"></li>
			  <li><a href="sign_in.action">退出</a></li>
			</ul>
			
		</div>
	  </div>
	</div>
	
	<div class="container">
		
			<div class="row">
				  <div class="span2"></div>
				  <div class="span8">
					
						<div class="page-header well">
						  <h2><img src="img/chat.png" alt="" />讨论区</h2>
						</div>
						<div class="page-header well">
						  <span><img src="img/talk_weibo.png" alt="" /></span>
							<form action="">
								<div>
									<textarea name="talk" id="talk" cols="30" rows="10"></textarea>
								</div>
								<input class="btn btn-primary " type="button" value="保存"/>
							</form>	
						</div>		
						
						
						<div class="page-header well">
							<table class="table">
							  <tbody>
								<tr>
								  <td><img src="img/contact.png" alt="" /><a href="">聊天1</a></td>
								</tr>
								<tr>
								  <td><img src="img/contact.png" alt="" /><a href="">聊天2</a></td>
								</tr>
								<tr>
								  <td><img src="img/contact.png" alt="" /><a href="">聊天3</a></td>
								</tr>
							  </tbody>
							</table>
						</div>	
						
						
						
				  </div>
				  <div class="span4">
						<div class="page-header well">
						  <h3>最近访问的同事</h3>
							<table class="table">
							  <tbody>
								<tr>
								  <td><img src="img/contact.png" alt="" /><a href="">同事1</a></td>
								</tr>
								<tr>
								  <td><img src="img/contact.png" alt="" /><a href="">同事2</a></td>
								</tr>
								<tr>
								  <td><img src="img/contact.png" alt="" /><a href="">同事3</a></td>
								</tr>
							  </tbody>
							</table>
						</div>	
						<div class="page-header well">
						  <h3>
							<span>
							<a data-backdrop="static" href=".modal" data-toggle="modal"><img src="img/add_task.png" alt="" />添加任务</a>
							</span>
						  </h3>
							<div class="modal fade" id="myModal">
							  <div class="modal-header">
								<a class="close" data-dismiss="modal">×</a>
								<h3>对话框标题</h3>
							  </div>
							  <div class="modal-body">
								<p>对话框内容</p>
							  </div>
							  <div class="modal-footer">
								<a href="#" class="btn">关闭</a>
								<a href="#" class="btn btn-primary">保存更新</a>
							  </div>
							</div>
						</div>	
						<div class="page-header well">	
						  <h3>您的待办任务 </h3>
							<table class="table">
							  <tbody>
								<tr>
								  <td><img src="img/task.png" alt="" /><a href="">任务1</a></td>
								</tr>
								<tr>
								  <td><img src="img/task.png" alt="" /><a href="">任务2</a></td>
								</tr>
								<tr>
								  <td><img src="img/task.png" alt="" /><a href="">任务3</a></td>
								</tr>
							  </tbody>
							</table>
						</div>	
				  </div>
				</div>
			</div>
	
		</div>
		
	<script type="text/javascript">
		$(document).ready(function(){
			$("#new_task").click(function(){
				$('#myModal').modal({
					backdrop:true,
					keyboard:true,
					show:false
				});
			});
		});
		
	</script>
</body>
</html>